tmem: shared ephemeral (SE) pool (clustering) fixes
authorKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Jun 2009 17:37:27 +0000 (18:37 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Mon, 1 Jun 2009 17:37:27 +0000 (18:37 +0100)
commitd2c78b31b503e88c2cde80e7f15ec62061007e71
treef482a7b6dbf55537a4a661d6b47d5a732689a1eb
parentcf57498e90452b5042026b841a549993d5c28523
tmem: shared ephemeral (SE) pool (clustering) fixes

Tmem can share clean page cache pages for Linux domains
in a virtual cluster (currently only the ocfs2 filesystem
has a patch on the Linux side).  So when one domain
"puts" (evicts) a page, any domain in the cluster can
"get" it, thus saving disk reads.  This functionality
is already present; these are only bug fixes.

- fix bugs when an SE pool is destroyed
- fixes in parsing tool for xm tmem-list output for SE pools
- incorrect locking in one case for destroying an SE pool
- clearer verbosity for transfer when an SE pool is destroyed
- minor cleanup: merge routines that are mostly duplicate

Signed-off-by: Dan Magenheimer <dan.magenheimer@oracle.com>
tools/misc/xen-tmem-list-parse.c
xen/common/tmem.c